﻿$(document).ready(function () {
    ConfigureNavigation();
});

function ConfigureNavigation() {

    $.each($("div.navigation ul li a"), function () {

        if (window.location.pathname == $(this).attr("href")) {
            $(this).addClass("active");
        }
    });
}

function LoadText() {
    if ($("input#email-sign-up").val() == "")
        $("input#email-sign-up").val("enter email address");
}

function ClearText() {
    if ($("input#email-sign-up").val() == "enter email address")
        $("input#email-sign-up").val("");
}